package ldh.im.fxbase.data.dto;

import java.util.List;

public class PageResult<T> {

    private List<T> datas;
    private int total;

    public PageResult() {}

    public PageResult(List<T> datas, int total) {
        this.datas = datas;
        this.total = total;
    }

    public List<T> getDatas() {
        return datas;
    }

    public void setDatas(List<T> datas) {
        this.datas = datas;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
